FROM registry-intl.cn-hongkong.aliyuncs.com/appbaseimg/centos7.4-nginx1.10.2:v1
COPY dist /home/app/nginx/html/
COPY docker/flb/entrypoint.sh /home/app/entrypoint.sh
COPY docker/flb/www.conf /home/app/nginx/conf/vhost/
USER root
RUN chown -R app:app /home/app/
USER app
EXPOSE 10080

ENTRYPOINT ["/bin/sh","/home/app/entrypoint.sh"]
